ffmpeg.git
2 years agoavcodec/decode: validate hw_frames_ctx when AVHWAccel.free_frame_priv is used
Dmitry Rogozhkin [Tue, 21 Nov 2023 05:57:32 +0000 (21:57 -0800)]
avcodec/decode: validate hw_frames_ctx when AVHWAccel.free_frame_priv is used

Validate that a hw_frames_ctx is available before using it for
the AVHWAccel.free_frame_priv callback, and don't require it to
be present when the callback is not in use by the HWAccel.

v2: check for free_frame_priv (Hendrik)
v3: return EINVAL (Christoph Reiter)
v4: better commit message (Hendrik)
v5: fix typo with missed frames_ctx (Lynne)

See[1]: https://github.com/msys2/MINGW-packages/pull/19050
Fixes: be07145109 ("avcodec: add AVHWAccel.free_frame_priv callback")
CC: Lynne <dev@lynne.ee>
CC: Christoph Reiter <reiter.christoph@gmail.com>
Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
Gbp-Pq: Name 0002-avcodec-decode-validate-hw_frames_ctx-when-AVHWAccel.patch

2 years agoavcodec/avfft: initialize to 0 to avoid segfaults when freeing ctx2
Sebastian Ramacher [Sat, 11 Nov 2023 23:29:00 +0000 (00:29 +0100)]
avcodec/avfft: initialize to 0 to avoid segfaults when freeing ctx2

Gbp-Pq: Name 0001-avcodec-avfft-initialize-to-0-to-avoid-segfaults-whe.patch

2 years agoffmpeg (7:6.1-4) unstable; urgency=medium
Sebastian Ramacher [Tue, 21 Nov 2023 19:52:36 +0000 (20:52 +0100)]
ffmpeg (7:6.1-4) unstable; urgency=medium

  * debian/patches: Apply new upstream patch

[dgit import unpatched ffmpeg 7:6.1-4]

2 years agoImport ffmpeg_6.1-4.debian.tar.xz
Sebastian Ramacher [Tue, 21 Nov 2023 19:52:36 +0000 (20:52 +0100)]
Import ffmpeg_6.1-4.debian.tar.xz

[dgit import tarball ffmpeg 7:6.1-4 ffmpeg_6.1-4.debian.tar.xz]

2 years agoImport ffmpeg_6.1.orig.tar.xz
Sebastian Ramacher [Sat, 11 Nov 2023 12:02:47 +0000 (13:02 +0100)]
Import ffmpeg_6.1.orig.tar.xz

[dgit import orig ffmpeg_6.1.orig.tar.xz]